import {isObject} from '@/utils/is'

export function deepMerge(src = {}, target = {}) {
    let key;
    for (key in target) {
        src[key] = isObject(src[key]) ? deepMerge(src[key], target[key]) : target[key];
    }
    return src;
}

export * from './is'
export * from './urlUtil'
